<div ng-controller="operationDetailController">
    <div class="bg-light lter b-b wrapper-sm">
        <h1 class="m-n font-thin h4">运维详情</h1>
    </div>

    <div class="wrapper-sm">
        <div class="panel panel-default">

            <div class="panel-body">

                <div name="step1" id="form" class="form-validation form-horizontal" novalidate>
                    <div class="form-group">
                        <div class="panel-heading font-bold m-b-sm m-t-n">
                            基本信息
                        </div>

                        <label class="col-lg-1 pull-left control-label">订单编号  :</label>
                        <label class="col-lg-2 control-label text-left">{{OData.orderId}}</label>

                        <label class="col-lg-1 pull-left control-label">子询价编号  :</label>
                        <label class="col-lg-2 control-label text-left">{{OData.inquiryChildId}}</label>

                        <label class="col-lg-1 pull-left control-label">客户订单编号  :</label>
                        <label class="col-lg-2 control-label text-left">{{OData.clientOrderId}}</label>

                        <label class="col-lg-1 pull-left control-label">下单时间  :</label>
                        <label class="col-lg-2 control-label text-left">{{OData.creationTime}}</label>

                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 pull-left control-label">紧急程度<span class="text-danger">*</span></label>
                        <label class="col-lg-2 control-label text-left">{{OData.responseTime}}</label>

                        <label class="col-lg-1 pull-left control-label">计划专员  :</label>
                        <label class="col-lg-2 control-label text-left">{{OData.plannerName}}</label>
                        <label class="col-lg-1 pull-left control-label">商务专员<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <label class="control-label pull-left">{{OData.businessAffairsName}}</label>
                        </div>
                        <label class="col-lg-1 pull-left control-label">客服专员<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <label class="control-label pull-left">{{OData.customerServiceName}}</label>
                        </div>

                    </div>

                    <div class="form-group">
                        <label class="col-lg-1 pull-left control-label">调度专员<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <label class="control-label pull-left">{{OData.dispatcherName}}</label>
                        </div>

                        <label class="col-lg-1 pull-left control-label">客户单位<span class="text-danger">*</span></label>
                        <label class="col-lg-2 control-label text-left">{{OData.clientName}}</label>
                        <label class="col-lg-1 pull-left control-label">发货计划人<span class="text-danger">*</span></label>
                        <label class="col-lg-2 control-label text-left">{{OData.consignorName}}</label>
                        <div>
                            <label class="col-lg-1 pull-left control-label">发货人号码<span class="text-danger">*</span></label>
                            <label class="col-lg-2 control-label text-left">{{OData.consignorPhone}}</label>
                        </div>
                    </div>

                    <div class="form-group">

                        <label class="col-lg-1 pull-left control-label">发货内容  :</label>
                        <label class="col-lg-10 control-label text-left">{{OData.content}}</label>

                    </div>

                    <div class="form-group">
                        <div class="panel-heading font-bold">
                            线路货物信息<span class="text-danger">*</span>
                        </div>
                        <div class="wrapper font-bold">
                            总线路货物信息<span class="text-danger">*</span>
                        </div>
                        <div class="wrapper-sm m-t-n">
                            <div class="table-responsive table-cel-k">
                                <table class="table-bordered table-hover">
                                    <thead class="table-thea">
                                        <tr>
                                            <th width="9%">发货地址</th>
                                            <th width="9%">中转地</th>
                                            <th width="9%">送货地址</th>
                                            <th width="9%">发货时间</th>
                                            <th width="9%">到货时间</th>
                                            <th width="9%">里程数</th>
                                            <th width="9%">货物类别</th>
                                            <th width="9%">货物名称</th>
                                            <th width="9%">货物数量</th>
                                            <th width="5%">操作</th>
                                        </tr>
                                    </thead>
                                    <tbody class="tab-tbod">
                                        <tr ng-repeat="item in orderTotalList" title="{{item.originProvinceStr + item.originCityStr +  item.originCountyStr + item.originDetails}} {{item.viaList}} {{item.destinationProvinceStr + item.destinationCityStr +  item.destinationCountyStr + item.destinationDetails}} {{item.deliveryTime}} {{item.arrivalTime}} {{item.mileage}} {{item.goodsTypeName}} {{item.goodsName}} {{item.realQuantityOfGoods + item.goodsUnit}}">
                                            <td>{{item.originProvinceStr + item.originCityStr + item.originCountyStr + item.originDetails}}</td>
                                            <td>{{item.viaList}}</td>
                                            <td>{{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}}</td>
                                            <td>{{item.deliveryTime}}</td>
                                            <td>{{item.arrivalTime}}</td>
                                            <td>{{item.mileage}}</td>
                                            <td>{{item.goodsTypeName}}</td>
                                            <td>{{item.goodsName}}</td>
                                            <td>{{item.realQuantityOfGoods + item.goodsUnit}}</td>
                                            <td>
                                                <a data-toggle="modal" data-target="#orderTotal" title="查看详情" class="fa fa-eye m-l-xs  primary text-info" ng-click="getOrderDetial(item)"></a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>

                        <div class="wrapper font-bold">
                            子线路货物信息<span class="text-danger">*</span>
                        </div>
                        <div class="wrapper-sm m-t-n">
                            <div class="table-responsive table-cel-k">
                                <table class="table-bordered table-hover">
                                    <thead class="table-thea">
                                        <tr>
                                            <th width="9%">发货地址</th>
                                            <th width="9%">中转地</th>
                                            <th width="9%">送货地址</th>
                                            <th width="9%">货物类别</th>
                                            <th width="9%">货物名称</th>
                                            <th width="9%">吨位范围</th>
                                            <th width="9%">货物数量</th>
                                            <th width="9%">结算单位</th>
                                            <th width="9%">结算方式</th>
                                            <th width="5%">操作</th>
                                        </tr>
                                    </thead>
                                    <tbody class="tab-tbod">
                                        <tr ng-repeat="item in orderChildrenList" title="{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}} {{item.viaList}} {{item.deliverProvinceStr + item.deliverCityStr +  item.deliverAreaStr + item.deliverAddress}} {{item.goodsType}} {{item.goodsName}} {{item.tonRange}} {{item.goodsNum + item.goodsNumUnit}} {{item.reckoner}} {{item.settleType}}">
                                            <td>{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}}</td>
                                            <td>{{item.viaList}}</td>
                                            <td>{{item.deliverProvinceStr + item.deliverCityStr + item.deliverAreaStr + item.deliverAddress}}</td>
                                            <td>{{item.goodsType}}</td>
                                            <td>{{item.goodsName}}</td>
                                            <td>{{item.tonRange}}</td>
                                            <td>{{item.goodsNum + item.goodsNumUnit}}</td>
                                            <td>{{item.reckoner}}</td>
                                            <td>{{item.settleType}}</td>
                                            <td>
                                                <a data-toggle="modal" data-target="#orderChildren" title="查看详情" class="fa fa-eye m-l-xs  primary text-info" ng-click="EditChildren(item)"></a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="panel-heading font-bold m-b-sm">
                            所需车辆信息
                        </div>

                        <label class="col-lg-1 pull-left control-label">所需车型<span class="text-danger">*</span></label>
                        <div class="pull-left m-l-sm m-r-sm">
                            <input id="operDetail_vehicleType" name="vehicleType" type="text" class="form-control input-sm" ng-value="OData.vehicleType" disabled="disabled">
                        </div>
                        <label class="pull-left control-label">所需车长<span class="text-danger">*</span></label>
                        <div class="pull-left m-l-sm m-r-sm">
                            <input id="operDetail_carLengthO" name="carLengthO" type="text" class="form-control input-sm" ng-value="OData.carLength" disabled="disabled">
                        </div>

                        <label class="pull-left control-label">承运方式<span class="text-danger">*</span></label>

                        <div class="pull-left m-l-sm m-r-sm">
                            <input id="operDetail_carriageWay" name="carriageWay" type="text" class="form-control input-sm" ng-value="OData.carriageWay" disabled="disabled">
                        </div>
                        <label class="pull-left control-label">装车效果</label>
                        <div class="col-lg-2">
                            <input id="operDetail_loadingResult" name="loadingResult" type="text" class="form-control input-sm" ng-value="OData.loadingEffect" placeholder="请填写装车效果" disabled="disabled">
                        </div>

                    </div>
                    <div class="form-group">
                        <div class="panel-heading font-bold m-b-sm">
                            附件信息
                        </div>

                        <div class="wrapper-sm">

                            <table class="table bg-white-only b-a">
                                <thead>
                                    <tr>
                                        <th width="50%">名称</th>
                                        <th >大小</th>
                                        <th >进度</th>
                                        <th>状态</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr ng-repeat="item in attachmentUploader.queue">
                                        <td>
                                            <strong>{{ item.fileName}}</strong>

                                        </td>
                                        <td  nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                        <td >
                                            <div class="progress" style="margin-bottom: 0;">
                                                <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                            </div>
                                        </td>
                                        <td>
                                            <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                            <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                            <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                        </td>
                                        <td nowrap>
                                            <button id="operDetail_{{attach.uploaderName}}OnDownload" type="button" class="btn btn-primary btn-xs" ng-click="attachmentUploader.onDownload(item)">
                                                <span class="fa fa-cloud-download"></span> 下载
                                            </button>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>

                        </div>

                    </div>

                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold">
                            APP竞价结果
                        </div>
                        <div class="wrapper-sm">
                            <div class="table-responsive table-cel-k">
                                <table class="table-bordered table-hover">
                                    <thead class="table-thea">
                                        <tr>
                                            <th width="9%">承运商类型</th>
                                            <th width="9%">报价人</th>
                                            <th width="9%">电话</th>
                                            <th width="9%">报价金额</th>
                                            <th width="9%">报价说明</th>
                                            <th width="9%">车牌号</th>
                                            <th width="9%">报价时间</th>
                                        </tr>
                                    </thead>
                                    <tbody class="tab-tbod">
                                        <tr ng-repeat="item in orderAppBiddingList" title="{{item.carrierType}} {{item.userRealName}} {{item.phoneNumber}} {{item.price}} {{item.description}} {{item.carCode}} {{item.time}}">
                                            <td>{{item.carrierType}}</td>
                                            <td>{{item.userRealName}}</td>
                                            <td>{{item.phoneNumber}}</td>
                                            <td>{{item.price}}</td>
                                            <td>{{item.description}}</td>
                                            <td>{{item.carCode}}</td>
                                            <td>{{item.time}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>

                        </div>
                    </div>

                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            承运商信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">承运商名称<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_carrierName" type="text" class="form-control input-sm" ng-value="CData.carrier" placeholder="请填写承运商名称" disabled="disabled" name="carrierName">
                        </div>
                        <label class="pull-left control-label">承运商号码<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_carrierPhone" type="tel" class="form-control input-sm" ng-value="CData.carrierPhone" placeholder="请填写承运商号码" disabled="disabled" ng-pattern="/^1\d{10}$/" name="carrierPhone">
                        </div>

                        <label class="pull-left control-label">承运商类型<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_carrierType" type="text" class="form-control input-sm" ng-value="CData.carrierType" placeholder="承运商类型" disabled="disabled" name="carrierType">
                        </div>
                        <button id="operDetail_editCarryOrder" ng-click="EditCarryOrder()" ng-if="carryOrderIsShow" data-toggle="modal" title="修改承运商信息" data-target="#CarrierAdd" class="pull-left btn btn-sm m-r btn-info btn-addon"><i class="fa fa-edit"></i>修改承运商</button>
                    </div>


                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            承运商车辆信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">车辆<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_car" type="text" class="form-control uppercase input-sm" ng-value="car" disabled="disabled" name="carCode">
                        </div>
                        <label class="col-lg-1 pull-left control-label w-xs">车牌号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_carCodeC" type="text" class="form-control uppercase input-sm" ng-value="CData.carCode" disabled="disabled" name="carCode">
                        </div>

                        <label class="pull-left control-label w-xs">驾驶员号码<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_driverPhoneC" type="tel" class="form-control input-sm" ng-value="CData.driverPhone" placeholder="请填写驾驶员号码" disabled="disabled" ng-pattern="/^1\d{10}$/" name="driverPhone">
                        </div>

                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">车长<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <!--<select class="form-control" disabled="disabled" ng-value="carLength" ng-options="x.value as x.text for x in carLengthList" required>
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_carLengthC" name="carLengthC" type="text" class="form-control input-sm" ng-value="CData.carLength" disabled="disabled">
                        </div>
                        <label class="pull-left control-label w-xs">车型<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <!--<select class="form-control" disabled="disabled" ng-model="carType" ng-options="x.value as x.text for x in carTypeList" required>
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_vehicleTypeC" name="vehicleTypeC" type="text" class="form-control input-sm" ng-value="CData.vehicleType" disabled="disabled">
                        </div>
                        <label class="pull-left control-label w-xs">驾驶员姓名<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_driverNameC" type="text" class="form-control input-sm" ng-value="CData.driver" placeholder="请填写驾驶员姓名" disabled="disabled" name="driverName">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">道路运输许可证号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="cdata_permit_number" class="form-control input-sm" ng-model="CData.permitNumber" placeholder="道路运输许可证号" disabled="disabled" name="permitNumber">
                        </div>
                        <label class="pull-left control-label w-xs">所属辖区<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_countrySubdivisionValue" name="countrySubdivisionValue" type="text" class="form-control input-sm" ng-value="countrySubdivisionValue" disabled="disabled">
                        </div>
                        <label class="pull-left control-label m-r-n-xs">道路运输证字号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input type="text" id="road_transport_certificate_number" class="form-control input-sm" ng-model="CData.roadTransportCertificateNumber" placeholder="道路运输证字号" disabled="disabled" name="roadTransportCertificateNumber">
                        </div>
                        <button id="operDetail_editCarInfo" ng-click="editCarInfo()" ng-if="carInfoIsShow" data-toggle="modal" title="修改车辆信息" data-target="#CarsAdd" class="pull-left btn btn-sm m-r btn-info btn-addon"><i class="fa fa-edit"></i>修改车辆信息</button>
                    </div>

                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            应付价格信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">应付单价<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_carrierReceivablePriceC" type="text" class="form-control input-sm" ng-value="CData.payablePrice" placeholder="请填写应付单价" disabled="disabled" name="carrierReceivablePirce">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <!--<select class="form-control input-sm" ng-model="payablePriceUnit" name="carrierReceivablePirceUnit" ng-options="x.value as x.text for x in receivablePriceUnitList" disabled="disabled">
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_payablePriceUnitC" name="payablePriceUnit" type="text" class="form-control input-sm" ng-value="CData.payablePriceUnit" disabled="disabled">
                        </div>
                        <label class="m-l pull-left control-label">应付说明<span class="text-danger">*</span></label>
                        <div class="col-lg-6">
                            <input id="operDetail_payableReceivableRemarksC" type="text" class="form-control input-sm" ng-value="CData.payableSummary" placeholder="请填写应付说明" disabled="disabled" name="carrierReceivableRemarks">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">预付款</label>
                        <div class="col-lg-2">
                            <input id="operDetail_advancePriceC" type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[0].advancePrice" placeholder="请填写预付款" value="0" disabled="disabled" name="advancePrice">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <!--<select class="form-control input-sm" ng-model="advancePriceType" name="advancePriceType" ng-options="x.value as x.text for x in advancePriceTypeList" disabled="disabled">
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_advancePriceTypeC" name="advancePriceType" type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[0].advancePriceTypeStr" disabled="disabled">
                        </div>

                        <div class="col-lg-2">
                            <input id="operDetail_advancePriceTwoC" type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[1].advancePrice" value="0" disabled="disabled" name="advancePriceTwo">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <!--<select class="form-control input-sm" ng-model="advancePriceTypeTwo" name="advancePriceType" ng-options="x.value as x.text for x in advancePriceTypeList" disabled="disabled">
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_advancePriceTypeTwoC" name="advancePriceTypeTwo" type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[1].advancePriceTypeStr" disabled="disabled">
                        </div>
                        <label class="m-l pull-left control-label">回单款</label>
                        <div class="col-lg-2">
                            <input id="operDetail_receiptPriceC" type="text" class="form-control input-sm" ng-value="CData.receiptPrice" value="0" disabled="disabled" name="receiptPrice">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <!--<select class="form-control input-sm" ng-value="receiptPriceType" name="advancePriceTypeThr" ng-options="x.value as x.text for x in advancePriceTypeList" disabled="disabled">
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_receiptPriceUnitC" name="receiptPriceUnit" type="text" class="form-control input-sm" ng-value="CData.receiptPriceUnit" disabled="disabled">
                        </div>
                        <div class="line  pull-in"></div>

                        <label class="col-lg-1 pull-left control-label">银行卡号<span class="text-danger">*</span></label>
                        <div class="col-lg-3">
                            <input id="operDetail_bankCodeC" type="text" class="form-control input-sm" ng-value="CData.bankCode" placeholder="请填写银行卡号" disabled="disabled" name="bankCode">
                        </div>
                        <label class="pull-left control-label w-xsss">开户银行<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_bankNameC" type="text" class="form-control input-sm" ng-value="CData.bankName" placeholder="请填写开户银行" disabled="disabled" name="openBank">
                        </div>
                        <label class="pull-left control-label w-xsss">持卡人姓名<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_holderC" type="text" class="form-control input-sm" ng-value="CData.holder" placeholder="请填写持卡人姓名" disabled="disabled" name="holder">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label"></label>
                        <button id="operDetail_editReceivable" ng-click="editReceivable()" ng-if="receivableIsShow" data-toggle="modal" title="修改应付价格信息" data-target="#ReceiptPriceEdit" class="pull-left btn btn-sm m-l btn-info btn-addon"><i class="fa fa-edit"></i>修改应付价格</button>
                    </div>


                    <div class="form-group" ng-show="true">
                        <div class="panel-heading font-bold m-b-sm">
                            合同信息
                        </div>
                        <label class="col-lg-1 pull-left control-label">合同号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_contractNumber" type="text" class="form-control input-sm" ng-value="contractData.contractNumber" placeholder="请填写合同号" disabled="disabled" required name="contractNumber">
                        </div>
                        <label class="pull-left control-label w-xss">合同货物数量<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_contractGoodsNum" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control input-sm" ng-value="contractData.quantityOfGoods" placeholder="请填写合同货物数量" disabled="disabled" required name="contractGoodsNum">
                        </div>
                        <div class="pull-left m-l-n-sm">
                            <!--<select class="form-control input-sm" ng-model="contractGoodsNumUnit" name="contractGoodsNumUnit" required ng-options="x.value as x.text for x in goodsNumUnitList" disabled="disabled">
                                <option value="">请选择</option>
                            </select>-->
                            <input id="operDetail_goodsUnit" name="contractGoodsUnit" type="text" class="form-control input-sm" ng-value="contractData.goodsUnit" disabled="disabled" />
                        </div>
                        <label class="m-l pull-left control-label">合同日期<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <div class="input-group input-group-sm date">
                                <input id="operDetail_contractTime" name="contractTime" datetimepicker plugintype="datetime" ng-value="contractData.contractTime" placeholder="合同日期" class="form-control" type="text" disabled="disabled" />
                                <span class="input-group-addon">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                </span>
                            </div>
                        </div>

                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">合同状态<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_contractStatus" name="contractStatus" type="text" class="form-control input-sm" ng-value="contractData.contractStatus" disabled="disabled" />
                            <!--<select class="form-control input-sm" ng-value="contractStatus" name="contractStatus" disabled="disabled" required ng-options="x.value as x.text for x in contractStatusList">
                                <option value="">请选择</option>
                            </select>-->
                        </div>
                        <label class="pull-left control-label w-xss">油卡状态<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_oilCardStatus" name="oilCardStatus" type="text" class="form-control input-sm" ng-value="contractData.oilCardStatus" disabled="disabled" />
                        </div>
                        <label class="pull-left control-label w-xsss m-l-xll">油卡卡号</label>
                        <div class="col-lg-2">
                            <input id="operDetail_oilCarNum" type="text" class="form-control input-sm" ng-value="contractData.oilCardNumber" placeholder="请填写油卡卡号" value="0" disabled="disabled" name="oilCarNum">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="pull-left control-label col-lg-1">驾驶证号<span class="text-danger">*</span></label>
                        <div class="col-lg-2">
                            <input id="operDetail_driverLicenseNumber" type="text" class="form-control input-sm" ng-value="contractData.driverLicenseNumber" placeholder="请填写驾驶证号" disabled="disabled" required name="driverLicenseNumber">
                        </div>
                        <label class="pull-left control-label w-xss">运费总价</label>
                        <div class="col-lg-2">
                            <input id="operDetail_totalPrice" type="text" class="form-control input-sm" ng-value="contractData.totalPrice" placeholder="请填写挂车车架号" disabled="disabled" name="trailerFrameNumber">
                        </div>

                        <label class="pull-left control-label w-xsss m-l-xll">车架号 </label>
                        <div class="col-lg-2">
                            <input id="operDetail_frameNumber" type="text" class="form-control input-sm" ng-value="contractData.frameNumber" placeholder="请填写车架号" disabled="disabled" name="frameNumber">
                        </div>

                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 pull-left control-label">挂车号</label>
                        <div class="col-lg-2">
                            <input id="operDetail_trailerNumber" type="text" class="form-control input-sm" ng-value="contractData.trailerNumber" placeholder="请填写挂车号" disabled="disabled" name="trailerNumber">
                        </div>
                        <label class="pull-left control-label w-xss">发动机号</label>
                        <div class="col-lg-2">
                            <input id="operDetail_engineNumber" type="text" class="form-control input-sm" ng-value="contractData.engineNumber" placeholder="请填写发动机号" disabled="disabled" name="engineNumber">
                        </div>
                        <label class="pull-left control-label w-xsss m-l-xll">备用电话</label>
                        <div class="col-lg-2">
                            <input id="operDetail_altermatePhone" type="text" class="form-control input-sm" ng-value="contractData.altermatePhone" placeholder="请填写备用电话" disabled="disabled" name="altermatePhone">
                        </div>
                        <div class="line  pull-in"></div>

                        <label class="col-lg-1 pull-left control-label">辅助工具(需回收)</label>
                        <div class="col-lg-2">
                            <input id="operDetail_auxiliaryTool" type="text" class="form-control input-sm" ng-value="contractData.auxiliaryTool" placeholder="请填写辅助工具" disabled="disabled" name="auxiliaryTool">
                        </div>

                        <label class="pull-left control-label w-xss">挂车车架号</label>
                        <div class="col-lg-2">
                            <input id="operDetail_trailerFrameNumber" type="text" class="form-control input-sm" ng-value="contractData.trailerFrameNumber" placeholder="请填写挂车车架号" disabled="disabled" name="trailerFrameNumber">
                        </div>
                        <div class="line "></div>
                        <label class="col-lg-1 pull-left control-label">备注 :</label>
                        <div class="col-lg-7">
                            <textarea class="form-control input-sm" id="operDetail_remark" disabled="disabled" ng-model="remark"  name="shipPriceContent"></textarea>
                        </div>

                        <!-- <label class="pull-left control-label w-xsss m-l-xll"></label> -->
                        <button id="operDetail_editContract" ng-click="editContract()" ng-disabled="contractDIs" ng-if="contractIsShow" data-toggle="modal" title="修改合同信息" data-target="#ContractEdit" class="pull-left btn btn-sm m-l btn-info btn-addon"><i class="fa fa-edit"></i>修改合同信息</button>

                    </div>

                    <div class="form-group">
                        <div class="panel-heading font-bold">
                            付款信息
                        </div>

                        <div class="wrapper-sm">
                            <div class="table-responsive table-cel-k">
                                <table class="table-bordered table-hover">
                                    <thead class="table-thea">
                                        <tr>
                                            <th width="9%">费用编号</th>
                                            <th width="9%">付款方式</th>
                                            <th width="9%">申领金额</th>
                                            <th width="9%">费用类型</th>
                                            <th width="9%">申领人</th>
                                            <th width="9%">结算承运商</th>
                                            <th width="9%">费用状态</th>
                                            <th width="9%">审核时间</th>
                                            <th width="9%">付款日期</th>
                                            <th width="9%">支出事由</th>
                                        </tr>
                                    </thead>
                                    <tbody class="tab-tbod">
                                        <tr ng-repeat="item in orderCostList" title="{{item.feeCode}} {{item.paymentMethod}} {{item.feeAmount}} {{item.feeType}} {{item.applicant}} {{item.carrier}} {{item.feeStatus}} {{item.auditedTime}} {{item.payTime}} {{item.expenditureReasons}}">
                                            <td>{{item.feeCode}}</td>
                                            <td>{{item.paymentMethod}}</td>
                                            <td>{{item.feeAmount}}</td>
                                            <td>{{item.feeType}}</td>
                                            <td>{{item.applicant}}</td>
                                            <td>{{item.carrier}}</td>
                                            <td>{{item.feeStatus}}</td>
                                            <td>{{item.auditedTime}}</td>
                                            <td>{{item.payTime}}</td>
                                            <td>{{item.expenditureReasons}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="panel-heading font-bold m-b-sm">
                            附件信息
                        </div>

                        <div class="panel-body" id="uploading">
                         
                            <ng-template ng-repeat="attach in attachList">
                                <div class="col-md-8">
                                    <label class="pull-left m-l m-r">{{attach.title}}</label>
                                    <div class="col-md-3 form-group">
                                    </div>
                                </div>
                                
                                <div class="wrapper-sm" ng-if="attach.uploader.queue.length">
                                    <div class="line  pull-in"></div>
                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                        <span class="">上传文件数: <b class="badge bg-info">{{ attach.uploader.queue.length }}</b></span>
                                    </div>
                                    <table class="table bg-white-only b-a">
                                        <thead>
                                            <tr>
                                                <th width="50%">名称</th>
                                                <th>大小</th>
                                                <th>进度</th>
                                                <th>状态</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr ng-repeat="item4 in attach.uploader.queue">
                                                <td>
                                                    <strong>{{ item4.fileName}}</strong>
                                                 
                                                    <div ng-show="item4.imgSrc">
                                                        <img data-ng-src="{{item4.imgSrc}}" style="width:300px" ng-click="handleImgClick(item4)" data-toggle="modal" data-target="#imgRotate">
                                                    </div>
                                                 
                                                </td>
                                                <td  nowrap>{{ item4.fileSize/1024/1024|number:2 }} MB</td>
                                                <td >
                                                    <div class="progress" style="margin-bottom: 0;">
                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item4.progress + '%' }"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <span ng-show="item4.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item4.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item4.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </td>
                                                <td nowrap>
                                
                                                    <button id="operationBreakBulk_occupationalLicenseUploader" type="button" class="btn btn-primary btn-xs" ng-click="[attach.uploader.onDownload(item4)]" ng-disabled="!item4.isSuccess">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </ng-template>

                            <div ng-repeat="child in childOrderAttachment">
                                <div class="">
                                    <div class="col-md-8">
                                        <label class="pull-left m-r">{{child.title}}</label>
                                       
                                    </div>
                                    <div class="wrapper-sm" ng-if="child.uploader.queue.length">
                                        <div class="line  pull-in"></div>
                                        <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                            <span class="">上传文件数: <b class="badge bg-info">{{ child.uploader.queue.length }}</b></span>
                                        </div>
                                        <table class="table bg-white-only b-a">
                                            <thead>
                                                <tr>
                                                    <th width="50%">名称</th>
                                                    <th >大小</th>
                                                    <th >进度</th>
                                                    <th>状态</th>
                                                    <th>操作</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr ng-repeat="item in child.uploader.queue">
                                                    <td>
                                                        <strong>{{ item.fileName }}</strong>
                                                       
                                                        <div >
                                                            <img data-ng-src="{{item.imgSrc}}" style="width:300px" ng-click="handleImgClick(item)" data-toggle="modal" data-target="#imgRotate">
                                                        </div>
                                                      
                                                    </td>
                                                    <td  nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                                    <td >
                                                        <div class="progress" style="margin-bottom: 0;">
                                                            <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                        <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                        <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                    </td>
                                                    <td nowrap>
                                                        <button id="operDetail_{{child.uploaderName}}OnDownload" type="button" class="btn btn-primary btn-xs" ng-click="child.uploader.onDownload(item)">
                                                            <span class="fa fa-cloud-download"></span> 下载
                                                        </button>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>

                        </div>

                    </div>

                    <div class="form-group">
                        <div class="col-lg-7 m-l-lg">
                            <button id="operDetail_editAttachment" ng-click="EditAttachment()" data-toggle="modal" title="修改附件信息" data-target="#UploadFileEdit" class="pull-left btn btn-sm m-r btn-info btn-addon"><i class="fa fa-edit"></i>修改附件</button>
                            <button id="operDetail_back" class="pull-right-xs btn btn-sm btn-warning btn-addon" ng-click="backUrl()"><i class="fa fa-mail-reply"></i>返回</button>
                        </div>
                    </div>

                    <!--orderTotal Modal -->
                    <div class="modal fade bs-example-modal-lg" id="orderTotal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button id="operDetail_orderTotalClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="orderTotalModalLabel">总线路货物信息</h4>
                                </div>

                                <div class="modal-body">

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-6">
                                            <input id="operDetail_originAddress" name="originAddress" type="text" class="form-control input-sm" ng-value="orderDetial.originProvinceStr+orderDetial.originCityStr+orderDetial.originCountyStr+orderDetial.originDetails" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-6">
                                            <input id="operDetail_destinationAddress" name="order-detail-destination-address" type="text" class="form-control input-sm" ng-value="orderDetial.destinationProvinceStr+orderDetial.destinationCityStr+orderDetial.destinationCountyStr+orderDetial.destinationDetails" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">中转地</label>
                                        <div class="col-lg-6">
                                            <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                                <span ng-repeat="item in OData.viaAddressList">
                                                    <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                        <span>{{item}}</span>
                                            </span>
                                            </span>
                                            </span>
                                        </div>

                                    </div>

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_shipTime" type="text" class="form-control " ng-value="orderDetial.deliveryTime" disabled="disabled" name="shipTime">

                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_arriveTime" type="text" class="form-control " ng-value="orderDetial.arrivalTime" disabled="disabled" name="arriveTime">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">里程数</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_mileage" type="text" class="form-control " ng-value="orderDetial.mileage" disabled="disabled" name="mileage">
                                        </div>
                                        <label class="pull-left control-label">公里</label>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_goodsTypeName" type="text" class="form-control" ng-value="orderDetial.goodsTypeName" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_goodsName" name="goodsName" type="text" class="form-control" ng-value="orderDetial.goodsName" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_tonnageRange" name="tonnageRange" type="text" class="form-control" ng-value="orderDetial.tonnageRange" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_goodsNum" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control " ng-value="orderDetial.realQuantityOfGoods" disabled="disabled" name="goodsNum">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <input id="operDetail_goodsUnitNumUnit" type="text" name="order-detail-goods-nuit" class="form-control" ng-value="orderDetial.goodsUnit" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量2</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_goodsNumTwo" type="text" class="form-control " ng-value="orderDetial.quantityOfGoodsTwo" disabled="disabled" name="goodsNumTwo">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <input id="operDetail_goodsUnitTwo" name="goodsUnitTwo" type="text" class="form-control" ng-value="orderDetial.goodsUnitTwo" disabled="disabled">
                                        </div>
                                    </div>

                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_orderTotalCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>

                                </div>
                            </div>
                        </div>
                    </div>

                    <!--orderChildren Modal -->
                    <div class="modal fade bs-example-modal-lg" id="orderChildren" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button id="operDetail_orderChildClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="orderChildrenModalLabel">子线路货物信息</h4>
                                </div>

                                <div class="modal-body">

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-6">
                                            <input id="operDetail_shipAddress" name="shipAddress" type="text" class="form-control input-sm" ng-value="orderChil.shipProvinceStr+orderChil.shipCityStr+orderChil.shipAreaStr+orderChil.shipAddress" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                        <div class="col-lg-6">
                                            <input id="operDetail_deliverAddress" name="deliverAddress" type="text" class="form-control input-sm" ng-value="orderChil.deliverProvinceStr+orderChil.deliverCityStr+orderChil.deliverAreaStr+orderChil.deliverAddress" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">中转地</label>
                                        <div class="col-lg-6">
                                            <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                                <span ng-repeat="item in orderChil.viaAddressList">
                                                    <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                        <span>{{item}}</span>
                                            </span>
                                            </span>
                                            </span>
                                        </div>

                                    </div>

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childShipTime" type="text" class="form-control " ng-value="orderChil.shipTime" disabled="disabled" name="childShipTime">

                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childArriveTime" type="text" class="form-control " ng-value="orderChil.arriveTime" disabled="disabled" name="childArriveTime">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">里程数</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childMileage" type="text" class="form-control " ng-value="orderChil.mileage" disabled="disabled" name="childMileage">

                                        </div>
                                        <label class="pull-left control-label">公里</label>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childGoodsType" name="childGoodsType" type="text" class="form-control" ng-value="orderChil.goodsType" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childGoodsName" name="childGoodsName" type="text" class="form-control" ng-value="orderChil.goodsName" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childTonRange" name="childTonRange" type="text" class="form-control" ng-value="orderChil.tonRange" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childGoodsNum" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control " ng-value="orderChil.goodsNum" disabled="disabled" name="goodsNum">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <input id="operDetail_childGoodsNumUnit" name="childGoodsNumUnit" type="text" class="form-control" ng-value="orderChil.goodsNumUnit" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">货物数量2</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childGoodsNumTwo" type="text" class="form-control " ng-value="orderChil.goodsNumTwo" disabled="disabled" name="goodsNumTwo">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <input id="operDetail_childGoodsNumUnitTwo" name="childGoodsNumUnitTwo" type="text" class="form-control" ng-value="orderChil.goodsNumUnitTwo" disabled="disabled">
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">结算方式<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childSettleType" name="childSettleType" type="text" class="form-control" ng-value="orderChil.settleType" disabled="disabled">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">含税<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childIncludeTax" name="include-tax" type="text" class="form-control" ng-value="orderChil.includeTax" disabled="disabled">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">应收说明</label>
                                        <div class="col-lg-6">
                                            <input id="operDetail_childReceivableRemarks" type="text" class="form-control " ng-value="orderChil.receivableRemarks" disabled="disabled" name="receivableRemarks">
                                        </div>

                                    </div>
                                    <div class="form-group" ng-show="true">
                                        <label class="col-lg-3 control-label">应收单价<span class="text-danger">*</span></label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childReceivablePrice" type="text" class="form-control " ng-value="orderChil.receivablePrice" disabled="disabled" name="receivablePrice">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <input id="operDetail_childReceivablePriceUnit" name="orderchil=receivable-price-unit" type="text" class="form-control" ng-value="orderChil.receivablePriceUnit" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group" ng-show="true">
                                        <label class="col-lg-3 control-label">应收总价</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childReceivableTotal" type="text" class="form-control " ng-value="orderChil.receivableTotal" disabled="disabled" name="receivableTotal">
                                        </div>
                                        <label class="pull-left control-label">元</label>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">结算单位<span class="text-danger">*</span></label>
                                        <div class="col-lg-6">
                                            <input type="text" class="form-control " id="operDetail_reckoner" ng-value="orderChil.reckoner" disabled="disabled" name="reckoner">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">工程名称</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childProjectName" type="text" class="form-control " ng-value="orderChil.projectName" disabled="disabled" name="projectName">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">工程编号</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_ChildProjectCode" type="text" class="form-control " ng-value="orderChil.projectCode" disabled="disabled" name="projectCode">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">工程总量</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childProjectTotal" type="text" class="form-control " ng-value="orderChil.projectTotal" disabled="disabled" name="projectTotal">
                                        </div>
                                        <div class="pull-left m-l-n-sm">
                                            <input id="operDetail_childProjectTotalUnit" name="childProjectTotalUnit" type="text" class="form-control" ng-value="orderChil.projectTotalUnit" disabled="disabled">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">收货单位</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childTakeGoodsCompany" type="text" class="form-control " ng-value="orderChil.takeGoodsCompany" disabled="disabled" name="takeGoodsCompany">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">收货人</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childConsignee" type="text" class="form-control " ng-value="orderChil.consignee" disabled="disabled" name="consignee">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">收货人号码</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childConsigneePhone" type="text" class="form-control " ng-value="orderChil.consigneePhone" disabled="disabled" name="consigneePhone">
                                        </div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-lg-3 control-label">发货单号</label>
                                        <div class="col-lg-3">
                                            <input id="operDetail_childShipOrderId" type="text" class="form-control " ng-value="orderChil.shipOrderId" disabled="disabled" name="shipOrderId">
                                        </div>

                                    </div>
                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_orderChildCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!--CarrierAdd Modal -->
                    <div class="modal fade bs-example-modal-lg" id="CarrierAdd" tabindex="-1" data-focus-on="input:first" style="display: none;" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button id="operDetail_carrierAddClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="CarrierAddModalLabel">修改承运商信息</h4>
                                </div>

                                <div class="modal-body">
                                    <ng-form id="carrierForm" name="carrierForm" class="form-validation form-horizontal">
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">承运商名称<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <div angucomplete-alt disable-input="dispatchOfficerDis" id="carrierName" placeholder="" pause="100" remote-api-handler="searchCarrier" selected-object="carrierSelect" search-fields="name" title-field="name" minlength="1" input-class="form-control form-control-small input-sm"
                                                    initial-value="CData.carrier" field-required="true" input-name="carrierName" match-class="highlight" required>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">承运商号码<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_carrierPhoneBox" type="tel" class="form-control " ng-model="carrierPhoneBox" placeholder="请填写承运商号码" disabled="disabled" name="carrierPhoneBox" required ng-pattern="/^1\d{10}$/">

                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">承运商类型<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <select id="operDetail_carrierTypeBox" name="carrierTypeBox" class="form-control" ng-model="carrierTypeBox" disabled="disabled" ng-options="x.value as x.text for x in carriertypeList" required>
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>

                                        </div>
                                    </ng-form>
                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_carrierAddCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                    <button id="operDetail_saveCarryOrder" type="button" class="btn btn-primary" ng-disabled="!carrierForm.$valid" ng-click="saveCarryOrder()">保存</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!--CarsAdd Modal -->
                    <div class="modal fade bs-example-modal-lg" id="CarsAdd" tabindex="-1" data-focus-on="input:first" style="display: none;" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">

                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">

                                <div class="modal-header">
                                    <button id="operDetail_carsAddClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="CarsAddModalLabel">修改车辆信息</h4>
                                </div>
                                <div class="modal-body">
                                    <form id="carForm" name="carForm" class="form-validation form-horizontal" novalidate>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">车辆<span class="text-danger">*</span></label>
                                            <div class="col-lg-4">
                                                <div angucomplete-alt class="uppercase" disable-input="dispatchOfficerDis" id="car" placeholder="" pause="100" selected-object="carCodeSelect" remote-api-handler="searchCar" search-fields="car" title-field="carCode,driver,driverPhone" minlength="2" input-class="form-control form-control-small input-sm"
                                                    initial-value="car" field-required="true" input-name="car" match-class="highlight">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">车牌号<span class="text-danger">*</span></label>
                                            <div class="col-lg-4">
                                                <input id="operDetail_carCode" type="text" class="form-control uppercase" ng-model="carCodeBox" placeholder="请填写车牌号" required ng-pattern="/^[\u4e00-\u9fa5]{1}[a-zA-Z]{1}[a-zA-Z_0-9]{5}$/" name="carCode">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">驾驶员姓名<span class="text-danger">*</span></label>
                                            <div class="col-lg-4">
                                                <input id="operDetail_driverNameBox" type="text" class="form-control" ng-model="driverNameBox" placeholder="请填写驾驶员姓名" required name="driverNameBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">驾驶员号码<span class="text-danger">*</span></label>
                                            <div class="col-lg-4">
                                                <input id="operDetail_driverPhoneBox" type="tel" class="form-control " ng-model="driverPhoneBox" placeholder="请填写驾驶员号码" name="driverPhoneBox" ng-pattern="/^1\d{10}$/" required>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">车型<span class="text-danger">*</span></label>
                                            <div class="col-lg-4">
                                                <select id="operDetail_carTypeBox" name="carTypeBox" class="form-control" ng-model="carTypeBox" ng-options="x.value as x.text for x in carTypeList" required>
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">车长<span class="text-danger">*</span></label>
                                            <div class="col-lg-4">
                                                <select id="operDetail_carLengthBox" name="carLengthBox" class="form-control" ng-model="carLengthBox" ng-options="x.value as x.text for x in carLengthList" required>
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">道路运输许可证号<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input type="text" id="operDetail_permitNumberBox" class="form-control input-sm" ng-model="permitNumberBox" placeholder="道路运输许可证号" required name="permitNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">所属辖区<span class="text-danger">*</span></label>
                                            <div class="col-lg-6">
                                                <tms-address city-list="deliverCityList" area-list="deliverAreaList" province="countrySubdivisionProvinceCode" city="countrySubdivisionCityCode" area="countrySubdivisionCountryCode" required="true" ischecked="true"></tms-address>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">道路运输证字号<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_roadTransportCertificateNumberBox" type="text" class="form-control input-sm" ng-model="roadTransportCertificateNumberBox" placeholder="请填写道路运输证字号" name="roadTransportCertificateNumberBox" required>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_carsAddCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                    <button id="operDetail_saveCarInfo" type="button" class="btn btn-primary" ng-disabled="carForm.$invalid" ng-click="saveCarInfo()">保存</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!--ReceiptPriceEdit Modal -->
                    <div class="modal fade bs-example-modal-lg" id="ReceiptPriceEdit" tabindex="-1" data-focus-on="input:first" style="display: none;" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button id="operDetail_receiptPriceEditClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="ReceiptPriceEditModalLabel">修改应付价格信息</h4>
                                </div>
                                <div class="modal-body">
                                    <form id="receiptForm" name="receiptForm" class="form-validation form-horizontal">
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">应付单价<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_payablePriceBox" type="text" class="form-control input-sm" ng-model="payablePriceBox" placeholder="请填写应付单价" name="carrierReceivablePirceBox" required>
                                            </div>
                                            <div class="pull-left m-l-n-sm">
                                                <select id="operDetail_payablePriceUnitBox" class="form-control input-sm" ng-model="payablePriceUnitBox" name="carrierReceivablePirceUnitBox" ng-options="x.value as x.text for x in receivablePriceUnitDropDown" required>
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">应付说明<span class="text-danger">*</span></label>
                                            <div class="col-lg-6">
                                                <input id="operDetail_payableSummaryBox" type="text" class="form-control input-sm" ng-model="payableSummaryBox" placeholder="请填写应付说明" name="carrierReceivableRemarksBox" required>
                                            </div>

                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">预付款</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_advancePriceBox" type="text" class="form-control input-sm" ng-model="advancePriceBox" placeholder="请填写预付款" value="0" name="advancePriceBox">
                                            </div>
                                            <div class="pull-left m-l-n-sm">
                                                <select id="operDetail_advancePriceTypeBox" class="form-control input-sm" ng-model="advancePriceTypeBox" name="advancePriceTypeBox" ng-options="x.value as x.text for x in advancePriceTypeDropDown">
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>

                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label"></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_advancePriceTwoBox" type="text" class="form-control input-sm" ng-model="advancePriceTwoBox" value="0" name="advancePriceTwoBox">
                                            </div>
                                            <div class="pull-left m-l-n-sm">
                                                <select id="operDetail_advancePriceTypeTwoBox" class="form-control input-sm" ng-model="advancePriceTypeTwoBox" name="advancePriceTypeTwoBox" ng-options="x.value as x.text for x in advancePriceTypeDropDown">
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">回单款</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_receiptPriceBox" type="text" class="form-control input-sm" ng-model="receiptPriceBox" value="0" placeholder="请填写回单款" name="receiptPriceBox">
                                            </div>
                                            <div class="pull-left m-l-n-sm">
                                                <select id="operDetail_receiptPriceTypeBox" class="form-control input-sm" ng-model="receiptPriceUnitBox" name="receiptPriceTypeBox" ng-options="x.value as x.text for x in advancePriceTypeDropDown">
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">银行卡号<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <div angucomplete-alt disable-input="dispatchOfficerDis" id="bankCode" name="bankCode" placeholder="" pause="100" remote-api-handler="searchBank" selected-object="bankCodeSelect" search-fields="cardNumber" title-field="cardNumber" minlength="3" input-class="form-control form-control-small input-sm"
                                                    initial-value="bankCode" input-changed="getBankName" match-class="highlight" required>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">开户银行<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_openBankBox" type="text" class="form-control input-sm" ng-disabled="openBankDis" ng-model="bankNameBox" placeholder="请填写开户银行" name="openBankBox" required>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">持卡人姓名<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_holderBox" type="text" class="form-control input-sm" ng-model="holderBox" placeholder="请填写持卡人姓名" name="holderBox" required>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_receiptPriceEditCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                    <button id="operDetail_saveReceivalble" type="button" class="btn btn-primary" ng-click="saveReceivable()">保存</button>
                                    <!--ng-disabled="!receiptForm.$valid"-->
                                </div>
                            </div>
                        </div>
                    </div>

                    <!--ContractEdit Modal -->
                    <div class="modal fade bs-example-modal-lg" id="ContractEdit" tabindex="-1" data-focus-on="input:first" style="display: none;" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">

                                <div class="modal-header">
                                    <button id="operDetail_contractEditClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="ContractEditModalLabel">修改合同信息</h4>
                                </div>
                                <div class="modal-body">
                                    <ng-form id="ContractForm" name="ContractForm" class="form-validation form-horizontal">
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">合同号<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_contractNumberBox" type="text" class="form-control input-sm" ng-model="contractNumberBox" placeholder="请填写合同号" required name="contractNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">合同货物数量<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_quantityOfGoodsBox" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control input-sm" ng-model="quantityOfGoodsBox" placeholder="请填写合同货物数量" required name="contractGoodsNum">
                                            </div>
                                            <div class="pull-left m-l-n-sm">
                                                <select id="operDetail_goodsUnitBox" class="form-control input-sm" ng-model="goodsUnitBox" name="contractGoodsNumUnitBox" required ng-options="x.value as x.text for x in goodsNumUnitList">
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">油卡卡号</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_oilCarNumberBox" type="text" class="form-control input-sm" ng-model="oilCardNumberBox" placeholder="请填写油卡卡号" value="0" name="oilCarNumBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">油卡状态</label>
                                            <div class="col-lg-3">
                                                <select id="operDetail_oilCardStatusBox" class="form-control input-sm" id="oilCardStatus" ng-model="oilCardStatusBox" name="oilCardStatusBox" required ng-options="x.value as x.text for x in oilCardStatusList">
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">驾驶证号<span class="text-danger">*</span></label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_driverLicenseNumberBox" ng-pattern="/^[A-Za-z0-9]+$/" minlength="18" maxlength="18" type="text" class="form-control input-sm" ng-model="driverLicenseNumberBox" placeholder="请填写驾驶证号" required name="driverLicenseNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">车架号</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_frameNumberBox" type="text" class="form-control input-sm" ng-model="frameNumberBox" placeholder="请填写车架号" name="frameNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">挂车号</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_trailerNumberBox" type="text" class="form-control input-sm" ng-model="trailerNumberBox" placeholder="请填写挂车号" name="trailerNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">发动机号</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_engineNumberBox" type="text" class="form-control input-sm" ng-model="engineNumberBox" placeholder="请填写发动机号" name="engineNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">备用电话</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_altermatePhoneBox" type="text" class="form-control input-sm" ng-model="altermatePhoneBox" placeholder="请填写备用电话" name="altermatePhoneBox" ng-pattern="/^\d{11,12}$/">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">辅助工具(需回收)</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_auxiliaryToolBox" type="text" class="form-control input-sm" ng-model="auxiliaryToolBox" placeholder="请填写辅助工具" name="auxiliaryToolBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">挂车车架号</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_trailerFrameNumberBox" type="text" class="form-control input-sm" ng-model="trailerFrameNumberBox" placeholder="请填写挂车车架号" name="trailerFrameNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-lg-3 control-label">运费总价</label>
                                            <div class="col-lg-3">
                                                <input id="operDetail_totalPriceBox" type="text" class="form-control input-sm" ng-model="totalPriceBox" placeholder="请填写运费总价" name="trailerFrameNumberBox">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            
                                            <label class="col-lg-3 control-label">备注 :</label>
                                            <div class="col-lg-6">
                                                <textarea class="form-control input-sm" style="resize: none" id="contract_reamrk"  ng-model="modalRemark"  name="contract_reamrk"></textarea>
                                            </div>
                                        </div>
                                    </ng-form>
                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_contractEditCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                    <button id="operDetail_saveContract" type="button" class="btn btn-primary" ng-disabled="!ContractForm.$valid" ng-click="saveContract()">保存</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!--UploadFileEdit Modal -->
                    <div class="modal fade bs-example-modal-lg" id="UploadFileEdit" tabindex="-1" data-focus-on="input:first" style="display: none;" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">

                        <div class="modal-lgg">
                            <div class="modal-content">

                                <div class="modal-header">
                                    <button id="operDetail_uploadEditClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="UploadFileEditModalLabel">修改附件信息</h4>
                                </div>
                                <div class="modal-body">
                                    <ng-form id="AttachmentForm" name="AttachmentForm" class="form-validation form-horizontal">
                                        <div class="panel-body">

                                           


                                            <ng-template ng-repeat="attach2 in attachList2">
                                                <div class="col-md-8">
                                                    <label class="pull-left m-l m-r">{{attach2.title}}</label>
                                                    <div class="col-md-3 form-group">
                                                        <input id="uploadFile_{{attach2.uploaderName}}" name="weightNoteUploaderBox" type="file" file-read uploader="attach2.uploader" ng-disabled="attach2.uploader.queue.length" />
                                                    </div>
                                                </div>
                                                <div class="wrapper-sm">
                                                    <div class="line  pull-in"></div>
                                                    <div class="wrapper-sm bg-light dk b-b m-b-xs hidden">
                                                        <span class="">上传文件数: <b class="badge bg-info">{{ attach2.uploader.queue.length }}</b></span>
                                                    </div>
                                                    <table class="table bg-white-only b-a">
                                                        <thead>
                                                            <tr>
                                                                <th width="50%">名称</th>
                                                                <th >大小</th>
                                                                <th >进度</th>
                                                                <th>状态</th>
                                                                <th>操作</th>
                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                            <tr ng-repeat="item4 in attach2.uploader.queue">
                                                                <td>
                                                                    <strong>{{ item4fileName }}</strong>
                                                               
                                                                    <div style="width:300px" ng-show="item4._file" ng-thumb="{ file: item4._file, width: 400}"></div>
                                                                    <div ng-show="!item4._file">
                                                                        <img data-ng-src="{{item4.imgSrc}}" style="width:300px" ng-click="handleImgClick(item)" data-toggle="modal" data-target="#imgRotate">
                                                                    </div>
                                                                
                                                                </td>
                                                                <td  nowrap>{{ item4.fileSize/1024/1024|number:2 }} MB</td>
                                                                <td >
                                                                    <div class="progress" style="margin-bottom: 0;">
                                                                        <div class="progress-bar" role="progressbar" ng-style="{ 'width': item4.progress + '%' }"></div>
                                                                    </div>
                                                                </td>
                                                                <td>
                                                                    <span ng-show="item4.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                                    <span ng-show="item4.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                                    <span ng-show="item4.isError"><i class="glyphicon glyphicon-remove"></i>失败</span>
                                                                </td>
                                                                <td nowrap>
                                                                    <button id="{{attach2.uploaderName}}_upload" type="button" class="btn btn-success btn-xs" ng-click="attach2.uploader.upload(item4)" ng-disabled="item4.isReady || item4.isUploading || item4.isSuccess">
                                                                        <span class="glyphicon glyphicon-upload"></span> 上传
                                                                    </button>
                                                                    <button id="{{attach2.uploaderName}}_delete" type="button" class="btn btn-danger btn-xs" ng-click="[attach2.uploader.onDelete(item4)]" ng-show="item4.isSuccess || item4.isError">
                                                                        <span class="glyphicon glyphicon-trash"></span> 删除
                                                                    </button>
                                                                    <button id="{{attach2.uploaderName}}_download" type="button" class="btn btn-primary btn-xs" ng-click="[attach2.uploader.onDownload(item4)]" ng-disabled="!item4.imgSrc">
                                                                        <span class="fa fa-cloud-download"></span> 下载
                                                                    </button>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </ng-template>
                
                                            </div>
                                    </ng-form>
                                </div>
                                <div class="modal-footer">
                                    <button id="operDetail_uploadEditCancel" type="button" class="btn btn-default" data-dismiss="modal" ng-click="cancelSaveAttachment()">取消</button>
                                    <button id="operDetail_saveAttachment" type="button" class="btn btn-primary" ng-disabled="!AttachmentForm.$valid" ng-click="saveAttachment()">保存</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- imgrotate model -->
                    <tms-img-rotate src="selectedImgSrc"></tms-img-rotate>
                    
                </div>

            </div>
        </div>

    </div>
</div>